<!--Start Content-->
<div id="content" class="col-xs-12 col-sm-10">
	<div class="preloader" style="display: none;">
		<img src="images/devoops_getdata.gif" class="devoops-getdata" alt="preloader">
	</div>
	<div id="ajax-content">
		<div class="row">
			<div id="breadcrumb" class="col-xs-12">
				<ol class="breadcrumb">
					<li><a href="index.html"><?php echo __("Home"); ?></a></li>
					<li><a href="#"><?php echo __("Users"); ?></a></li>
				</ol>
			</div>
		</div>

		<div id="dashboard-header" class="row">
			<div class="col-xs-10 col-sm-2">
				  <h3><?php echo __('User list', array(), 'messages') ?></h3>
			</div>
			<?php 
			$site_url = apAuthpuppyConfig::getConfigOption("main_url");
			$logo = apAuthpuppyConfig::getConfigOption("logo");

			if (!is_null($site_url)): ?>
			<a href="<?php echo $site_url?>">
			<?php endif; 
			if (!is_null($logo)) :
			   echo image_tag(url_for("/uploads/assets/$logo"), array('alt' => $site_name, 'class' => 'toplogo'));
	
			?>
	
			<?php else:
			  echo $site_name;
			endif;
			if (!is_null($site_url)): ?>
			</a>
			<?php endif;  ?>
<!--	
			<?php if (apAuthpuppyConfig::getConfigOption("show_node_info", false)): ?>
			  <br/>
			  <?php echo __('There are %1% active nodes in the network.', array('%1%' => Doctrine_Core::getTable('Node')->getDeployedNodes()->count())) ?><br/>
		      <?php echo __('There are %1% active connections.', array('%1%' => Doctrine_Core::getTable('Connection')->getActiveConnections()->count())) ?>
			<?php endif; ?>
-->
	
		</div>
		<div class="row">
		    <?php if ($sf_user->hasFlash('notice')): ?>
			<div class="notice"><?php echo __($sf_user->getFlash('notice')) ?></div>
		    <?php endif; ?>
	     
		    <?php if ($sf_user->hasFlash('error')): ?>
			<div class="error"><?php echo __($sf_user->getFlash('error')) ?></div>
		    <?php endif; ?>
		</div>	
		
		<div id="content" class="row">
			<?php use_helper('I18N', 'Date') ?>
			<?php include_partial('sfGuardUser/assets') ?>

			<div id="sf_admin_container">
			  <?php include_partial('sfGuardUser/flashes') ?>

			  <div id="sf_admin_header">
			    <?php include_partial('sfGuardUser/list_header', array('pager' => $pager)) ?>
			  </div>

			  <div id="sf_admin_bar">
			    <?php include_partial('sfGuardUser/filters', array('form' => $filters, 'configuration' => $configuration)) ?>
			  </div>

			  <div id="sf_admin_content">
			    <form action="<?php echo url_for('sf_guard_user_collection', array('action' => 'batch')) ?>" method="post">
			    <?php include_partial('sfGuardUser/list', array('pager' => $pager, 'sort' => $sort, 'helper' => $helper)) ?>
			    <ul class="sf_admin_actions">
			      <?php include_partial('sfGuardUser/list_batch_actions', array('helper' => $helper)) ?>
			      <?php include_partial('sfGuardUser/list_actions', array('helper' => $helper)) ?>
			      <li><?php echo link_to(__('Groups'), '@sf_guard_group'); ?></li><li><?php echo link_to(__('Permissions'), '@sf_guard_permission'); ?></li>
			    </ul>
			    </form>
			  </div>

			  <div id="sf_admin_footer">
			    <?php include_partial('sfGuardUser/list_footer', array('pager' => $pager)) ?>
			  </div>
			</div>
		</div>
	</div>
</div>
<!--End Content-->
